package cn.com.guage.flink.domain;

/**
 * Desc:
 * Created by zhisheng on 2019-08-07
 * blog：http://www.54tianzhisheng.cn/
 * 微信公众号：zhisheng
 */

public class WordEvent {
    private String word;
    private int count;
    private long timestamp;
	/**
	 * @return the word
	 */
	public String getWord() {
		return word;
	}
	/**
	 * @param word the word to set
	 */
	public void setWord(String word) {
		this.word = word;
	}
	/**
	 * @return the count
	 */
	public int getCount() {
		return count;
	}
	/**
	 * @param count the count to set
	 */
	public void setCount(int count) {
		this.count = count;
	}
	/**
	 * @return the timestamp
	 */
	public long getTimestamp() {
		return timestamp;
	}
	/**
	 * @param timestamp the timestamp to set
	 */
	public void setTimestamp(long timestamp) {
		this.timestamp = timestamp;
	}
	@Override
	public String toString() {
		return "WordEvent [word=" + word + ", count=" + count + ", timestamp=" + timestamp + "]";
	}
	/**
	 * @param word
	 * @param count
	 * @param timestamp
	 */
	public WordEvent(String word, int count, long timestamp) {
		super();
		this.word = word;
		this.count = count;
		this.timestamp = timestamp;
	}
    
    
}
